<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .lay{
      display: flex;
      flex-direction: column;
      width:80%;
      margin: 0 auto;
    }
    .top {
      
      flex: 0 0 50px;
      width: 100%;
      background-color: #555;
      
    }
    .main {
      flex: 0 0 100%;
      display: flex;
      

    }
    .main div:first-child{
      background-color:#858585;
      list-style-type: none;
      display: flex;
      flex-direction: column;
      flex: 0 0 10%;
      border-right: 1px solid #111111;
      border-left: 1px solid #111111;
    }
    .li {
      flex: 0 0 100%;
      line-height: 50px;
      text-align: center;
     
      
    }
    .li li{
      border-bottom: 1px solid #111111;
    }
    .main div:nth-child(2){
      background-color:#2a2a41;
      list-style-type: none;
      display: flex;
     flex-wrap: wrap;
      flex: 0 0 90%;
      justify-content:space-around;
    }
    .main div:nth-child(2) li{
      flex: 0 0 40%;
      line-height: 50px;
      text-align: center;
      background-color: yellow;
      margin: 10px;

    }

  </style>
</head>
<body>
  <div class="lay">
    <div class="top"></div>
    <div class="main">
      <div class="li">
        <li>分类</li>
        <li>分类</li>
        <li>分类</li>
        <li>分类</li>
        <li>分类</li>
        <li>分类</li>
      </div>
      <div>
        <li>图片</li>
        <li>图片</li>
        <li>图片</li>
        <li>图片</li>
        <li>图片</li>
        <li>图片</li>
      </div>
    </div>
  </div>
</body>
</html>